#ifndef WEATHE_DATA_H
#define WEATHE_DATA_H

#include <QString>


class Today{
    public:
    Today()
    {
        date = "2025-9-1";
        city = "长沙";

        ganmao= "感冒指数";

        wendu ="0";
        shidu = "0%";
        pm25 = 0;
        quality = "无数据";

        type = "多云";

        fl = "2级";
        fx = "南风";

        high = 30;
        low = 18;
    }

    QString date;
    QString city;

    QString ganmao;

    QString wendu;
    QString shidu;
    int pm25;
    QString quality;

    QString type;

    QString fx;
    QString fl;

    int high;
    int low;

};

class Day{
    public:
    QString date;   // 日期
    QString week;   // 星期x

    QString type;   // 天气类型

    int high;   //高温
    int low;    //低温

    QString fx; //风向
    QString fl; //风力

    int aqi;    // 天气污染指数

    // 构造函数，默认值
    Day(){
        date="2023-03-26";   // 日期
        week="周日";   //星期x

        type="多云";   // 天气类型

        high=0;   //高温
        low=0;    //低温

        fx="南风"; //风向
        fl="2级"; //风力

        aqi=0;  // 天气污染指数
    }
};


#endif // WEATHE_DATA_H
